import {
	useRequest
} from "./request.js";



export const useCategoryApis = () => {

	const request = useRequest();

	// 查询菜品分类列表
	function getCategoryList() {
		return request.get("/api/categories")
	}

	return {
		getCategoryList
	}
}